{{DC Motor Operating Syetem Test Build}}

CON
  _clkmode = xtal1 + pll16x
  _xinfreq = 5_000_000 

OBJ
  motor : "Victor_Speed_Controller"
  pst   : "Parallax Serial Terminal"
  
VAR
  long pulse
  
PUB Main
  pst.start(115200)
  motor.start(16, 17, @pulse)
  pulse := 0

  repeat
    pulse := pst.decin
    pst.dec(pulse)
    
    